package com.bobo.web.provider.service.order;

import com.bobo.web.api.domain.order.InsuranceDO;
import com.bobo.web.api.domain.order.InsuranceSeckill;

import java.util.List;

/**
 * InsuranceDAO继承基类
 */
public interface InsuranceService {
    /**
     *
     * @param id 险种ID
     * @return
     */
    InsuranceDO getInsurance(Long id);

    /**
     *
     * @param id 险种ID
     * @return
     */
    List<InsuranceSeckill> getSeckillInsuranceByID(Long id);
}
